package com.springdemo.spring5.autowrite;

/**
 * Created with IntelliJ IDEA.
 * User: zjz
 * Date: 2022/02/24 16:19
 * Description:
 * Version: V1.0
 */
public class Emp {
    private Dep dep;

    @Override
    public String toString() {
        return "Emp{" +
                "dep=" + dep +
                '}';
    }

    public void setDep(Dep dep) {
        this.dep = dep;
    }
    public void test(){
        System.out.println(dep);
    }
}
